package com.ruoyi.gis.mapper;

import com.ruoyi.base.domain.BusWaterSegment;
import com.ruoyi.gis.domain.DrinkWaterItemData;
import com.ruoyi.gis.domain.DrinkWaterLevelData;
import com.ruoyi.gis.domain.DrinlWaterItemListData;
import com.ruoyi.pwk.domain.BusPwkRhoutfall;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface GisMapper {
    public List<BusWaterSegment> WaterSegmentlist(@Param("isdrink") String isdrink, @Param("ismanual") String ismanual, @Param("isauto") String isauto, @Param("riverid") String riverid, @Param("countyCode") String countyCode);

    DrinkWaterLevelData selectSegmentTargetLevel(@Param("segmentId") String id);

    List<DrinkWaterItemData> selectSegmentItemData(@Param("segmentId") String id, @Param("beginDate") String beginDate, @Param("endDate") String endDate);

    List<DrinlWaterItemListData> getManualSegmentDatamon(Map<String, Object> segmentDatamap);

    List<BusPwkRhoutfall> rhOutFall(@Param("riverid") String riverid, @Param("countyCode") String countyCode);

    /**
     * 水源地自动站最新评价
     */
    List<Map<String,Object>> getDrinkWaterSegmentData(@Param("riverid") String riverid, @Param("countyCode") String countyCode);

    /**
     * 自动站监测断面最新评价
     */
    List<Map<String,Object>> getAutoWaterSegmentData(@Param("riverid") String riverid, @Param("countyCode") String countyCode);


    /**
     * 手工站监测断面最新评价
     */
    List<Map<String,Object>> getManualWaterSegmentData(@Param("riverid") String riverid, @Param("countyCode") String countyCode);

    /**
     * 手工水源地最新监测断面评价
     */
    List<Map<String,Object>> getManualDrinkSegmentData(@Param("riverid") String riverid, @Param("countyCode") String countyCode);


    Map<String, Object> getdrinkwaterprotectinfo();
    Date getmaxsampledate(@Param("businessCategoryCode") String businessCategoryCode);
    List<Map<String, Object>> getdrinkwaterqualityinfo(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<Map<String, Object>> getdrinkwatercountyinfo();

    List<Map<String, Object>> getdrinkwaterregioninfo();

    int getRhoutSurvey();

    List<Map<String, Object>> getRhoutBroadHeading();

    List<Map<String, Object>> getRhoutSubclass();

    List<Map<String, Object>> getRhoutDistribution();
}
